import ajax from "../utils/request"

export function addBanner(data) {
    return ajax({
        url: "/banner/add",
        method: "POST",
        data
    })
}

//
export function getBannerList() {
    return ajax({
        url: "/banner/list"
    })
}